import { UserLayout, TabLayout, RouteView, BlankLayout, PageView } from '@/components/layouts'

/**
 * 走菜单，走权限控制
 * @type {[null,null]}
 */
export const asyncRouterMap = [
  {
    path: '*',
    redirect: '/404',
    hidden: true,
  },
]

/**
 * 报表中心路由
 * ground分组显示；blank菜单是否不显示(明细)；limit权限；
 */
export const reportRouterMap = [
  {
    path: '/reportCenter/projectReport',
    name: 'projectListReport',
    ground: '1',
    component: 'layouts/RouteView',
    limit: 'projectListReport:list',
    meta: { title: '项目清单报表', icon: 'bar-chart' },
    children: [
      {
        path: '/reportCenter/projectReport',
        name: 'projectListReport',
        ground: '1',
        meta: { title: '项目清单报表', icon: 'line-chart', parentGround: '1' },
        component: 'reportCenter/projectReport/ProjectListReport',
      },
      {
        path: '/reportWork/hatchProjectTechList',
        name: 'hatchProjectTechList',
        component: 'reportCenter/hatchProject/HatchProjectTechList',
        meta: { title: '科技孵化项目列表', icon: 'line-chart', parentGround: '1' },
      },
    ],
  },
  {
    path: '/reportWork/nodeTimelinessRate',
    name: 'nodeTimelinessRateReport',
    ground: '1',
    component: 'layouts/RouteView',
    meta: { title: '项目节点完成情况汇总表', icon: 'bar-chart' },
    children: [
      {
        path: '/reportWork/nodeTimelinessRate',
        name: 'nodeTimelinessRate',
        ground: '1',
        meta: { title: '项目节点及时率报表', icon: 'line-chart', parentGround: '1' },
        component: 'reportCenter/backStageReport/NodeTimelinessRate',
      },
      {
        path: '/reportWork/nodeReport',
        name: 'nodeReport',
        ground: '1',
        meta: { title: '项目节点报工报表', icon: 'line-chart', parentGround: '1' },
        component: 'reportCenter/backStageReport/NodeReport',
      },
      {
        path: '/reportWork/managerReport',
        name: 'managerReport',
        ground: '1',
        meta: { title: '项目经理报工报表', icon: 'line-chart', parentGround: '1' },
        component: 'reportCenter/backStageReport/ManagerReport',
      },
      {
        path: '/reportWork/reporterReport',
        name: 'reporterReport',
        ground: '1',
        meta: { title: '项目负责人报工报表', icon: 'line-chart', parentGround: '1' },
        component: 'reportCenter/backStageReport/ReporterReport',
      },
    ],
  },
  {
    path: '/reportWork/projectDimension',
    name: 'projectDimensionReport',
    ground: '1',
    component: 'layouts/RouteView',
    meta: { title: '项目团队成员汇总表', icon: 'bar-chart' },
    children: [
      {
        path: '/reportWork/projectDimension',
        name: 'projectDimension',
        ground: '1',
        meta: { title: '团队成员维度报表', icon: 'line-chart', parentGround: '1' },
        component: 'reportCenter/backStageReport/ProjectDimension',
      },
      {
        path: '/reportWork/projectDimensionHelp',
        name: 'projectDimensionHelp',
        ground: '1',
        meta: { title: '协助模块维度报表', icon: 'line-chart', parentGround: '1' },
        component: 'reportCenter/backStageReport/ProjectDimensionHelp',
      },
    ],
  },

  {
    path: '/reportWork/queryPersonPoint',
    name: 'reporPerson',
    ground: '1',
    limit: 'projectPerformanceAppraisal',
    component: 'layouts/RouteView',
    meta: { title: '项目绩点账单', icon: 'bar-chart' },
    children: [
      {
        path: '/reportWork/queryPersonPoint',
        name: 'queryPersonPoint',
        component: 'reportCenter/projectReport/QueryPersonPoint',
        meta: { title: '个人项目绩点报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/queryPersonPointDetails',
        name: 'queryPersonPointDetails',
        component: 'reportCenter/projectReport/QueryPersonPointDetails',
        meta: { title: '个人项目绩点明细报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/queryPersonAchievement',
        name: 'queryPersonAchievement',
        component: 'reportCenter/projectReport/QueryPersonAchievement',
        meta: { title: '个人项目业绩报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/queryPersonBear',
        name: 'queryPersonBear',
        component: 'reportCenter/projectReport/QueryPersonBear',
        meta: { title: '个人承担项目报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/queryDeptPoint',
        name: 'queryDeptPoint',
        component: 'reportCenter/projectReport/QueryDeptPoint',
        meta: { title: '部门项目业绩报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/allQueryDeptPointDetails',
        name: 'queryDeptPointDetails',
        component: 'reportCenter/projectReport/QueryDeptPointDetails',
        meta: { title: '所有部门参与项目得分明细报表', parentGround: '1' },
      },
      {
        path: '/reportWork/rewardApplyList',
        name: 'rewardApplyList',
        component: 'reportCenter/projectReport/RewardApplyList',
        meta: { title: '项目奖励申报报表', icon: 'line-chart', parentGround: '1' },
      },
    ],
  },
  {
    path: '/reportWork/hatchProjectEngineeList',
    name: 'hatchProjectEngineeList',
    limit: 'hatchProjectEngineeList',
    ground: '1',
    component: 'layouts/RouteView',
    meta: { title: '工程动议列表', icon: 'bar-chart' },
    children: [
      {
        path: '/reportWork/hatchProjectEngineeList',
        name: 'hatchProjectEngineeList',
        component: 'reportCenter/hatchProject/HatchProjectEngineeList',
        meta: { title: '工程动议列表', icon: 'line-chart', parentGround: '1' },
      },
    ],
  },
  {
    path: '/reportWork/engineeProjectChangeList',
    name: 'engineeProjectChangeList',
    ground: '1',
    component: 'layouts/RouteView',
    meta: { title: '项目变更列表', icon: 'bar-chart' },
    children: [
      {
        path: '/reportWork/engineeProjectChangeList',
        name: 'engineeProjectChangeList',
        limit: 'engineeProjectChangeList',
        component: 'reportCenter/projectChange/EngineeProjectChangeList',
        meta: { title: '工程项目变更列表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/techProjectChangeList',
        name: 'techProjectChangeList',
        limit: 'techProjectChangeList',
        component: 'reportCenter/projectChange/TechProjectChangeList',
        meta: { title: '科技项目变更列表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/techProjectProgressReport',
        name: 'techProjectProgressReport',
        limit: 'techProjectProgressReport',
        component: 'reportCenter/backStageReport/TechProjectProgressReport',
        meta: { title: '科技项目进度管理报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/projectChangeList',
        name: 'projectChangeList',
        component: 'reportCenter/projectChange/ProjectChangeList',
        meta: { title: '项目变更管理报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/projectReserveList',
        name: 'projectReserveList',
        component: 'reportCenter/projectChange/ProjectReserveList',
        meta: { title: '项目转储报表', icon: 'line-chart', parentGround: '1' },
      },
    ],
  },
  {
    path: '/reportWork/queryPersonPointDetails',
    name: 'reportBlank',
    component: 'layouts/RouteView',
    blank: true,
    ground: '1',
    meta: { title: '明细' },
    children: [
      {
        path: '/reportWork/queryPersonPointDetails',
        name: 'queryPersonPointDetails',
        component: 'reportCenter/projectReport/QueryPersonPointDetails',
        meta: { title: '个人项目绩点明细报表', parentGround: '1' },
      },
      {
        path: '/reportWork/queryDeptPointDetails',
        name: 'queryDeptPointDetails',
        component: 'reportCenter/projectReport/QueryDeptPointDetails',
        meta: { title: '部门参与项目得分明细报表', parentGround: '1' },
      },
    ],
  },

  //  limit: 'maReportList',
  {
    path: '/reportWork/maDeptReportList',
    name: 'maDeptReportList',
    ground: '1',
    limit: 'maReportList',
    component: 'layouts/RouteView',
    meta: { title: '挖潜增效报表', icon: 'bar-chart' },
    children: [
      {
        path: '/reportWork/maDeptReportList',
        name: 'maDeptReportList',
        component: 'reportCenter/maReport/MaDeptReportList',
        meta: { title: '事业部/法人公司挖潜报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/maShoppingList',
        name: 'maShoppingList',
        component: 'reportCenter/maReport/MaShoppingList',
        meta: { title: '采购挖潜报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/maSummaryOneIndex',
        name: 'maSummaryOneIndex',
        component: 'reportCenter/maReport/MaSummaryOneIndex',
        meta: { title: '进度汇总及排名报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/maSummaryTwoIndex',
        name: 'maSummaryTwoIndex',
        component: 'reportCenter/maReport/MaSummaryTwoIndex',
        meta: { title: '分类汇总报表', icon: 'line-chart', parentGround: '1' },
      },
    ],
  },
  {
    path: '/reportWork/fiveToFiveIndex',
    name: 'fiveToFiveIndex',
    ground: '1',
    limit: 'fiveToFiveIndex',
    component: 'layouts/RouteView',
    meta: { title: '五比五拼报表', icon: 'bar-chart' },
    children: [
      {
        path: '/reportWork/fiveToFiveIndex',
        name: 'fiveToFiveIndex',
        component: 'reportCenter/maReport/FiveToFiveIndex',
        meta: { title: '五比五拼报表', icon: 'line-chart', parentGround: '1' },
      },
    ],
  },
  /*{
    path: '/reportWork/itAdjustmentList',
    name: 'itAdjustmentList',
    ground: '1',

    component: 'layouts/RouteView',
    meta: { title: '信息迭代版本报表', icon: 'bar-chart' },
    children: [
      {
        path: '/reportWork/itAdjustmentList',
        name: 'itAdjustmentList',
        component: 'reportCenter/itAdjustment/ItAdjustmentList',
        meta: { title: '信息迭代版本报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/projectSummary',
        name: 'projectSummary',
        component: 'reportCenter/itAdjustment/ProjectSummary',
        meta: { title: '项目成本汇总表', icon: 'line-chart', parentGround: '1' },
      },

      {
        path: '/reportWork/personSummary',
        name: 'personSummary',
        component: 'reportCenter/itAdjustment/PersonSummary',
        meta: { title: '人员成本汇总表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/personCostDetail',
        name: 'personCostDetail',
        component: 'reportCenter/itAdjustment/PersonCostDetail',
        meta: { title: '人员成本明细表', icon: 'line-chart', parentGround: '1' },
      },

      // {
      //   path: '/reportWork/personSummary',
      //   name: 'personSummary',
      //   component: 'reportCenter/itAdjustment/PersonSummary',
      //   meta: { title: '人员成本明细表', icon: 'line-chart', parentGround: '1' },
      // },
    ],
  },*/
  {
    path: '/reward/review',
    name: 'rewardAudit',
    ground: '1',
    component: 'layouts/RouteView',
    meta: { title: '奖励分配审核报表', icon: 'bar-chart' },
    children: [
      {
        path: '/reward/review',
        name: 'techRewardAudit',
        limit: 'techRewardAudit',
        component: 'projectBuild/rewardApply/review',
        meta: { title: '科技奖励分配审核报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reward/techReport',
        name: 'techRewardReport',
        limit: 'techRewardReport',
        component: 'projectBuild/rewardApply/report/techRewardReport',
        meta: { title: '科技奖励汇总报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reward/techPersonalReport',
        name: 'techPersonalReport',
        limit: 'techRewardReport',
        component: 'projectBuild/rewardApply/report/techPersonalReport',
        meta: { title: '科技个人奖励报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reward/techTargetReport',
        name: 'techTargetReport',
        limit: 'techRewardReport',
        component: 'projectBuild/rewardApply/report/techTargetReport',
        meta: { title: '科技目标达成率报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/projectReport/projectLibPersonalReport',
        name: 'projectLibPersonalReport',
        limit: 'techRewardReport',
        component: 'reportCenter/projectReport/ProjectLibPersonalReport',
        meta: { title: '科技文献报表（个人维度）', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/projectReport/projectLibProjectReport',
        name: 'projectLibProjectReport',
        limit: 'techRewardReport',
        component: 'reportCenter/projectReport/ProjectLibProjectReport',
        meta: { title: '科技文献报表（项目维度维度）', icon: 'line-chart', parentGround: '1' },
      },
    ],
  },
  {
    path: '/reward/review/engineering',
    name: 'rewardAudit',
    ground: '1',
    limit: 'rewardAuditIndex40',
    component: 'layouts/RouteView',
    meta: { title: '工程项目管理报表', icon: 'bar-chart' },
    children: [
      {
        path: '/reward/review/engineering',
        name: 'engineering',
        limit: 'techRewardAudit40',
        component: 'projectBuild/engineering/review',
        meta: { title: '工程项目奖励汇总审核表', icon: 'line-chart', parentGround: '1' },
      },
    ],
  },
  {
    path: '/reward/review/information',
    name: 'rewardAudit',
    ground: '1',
    limit: 'rewardAuditIndex',
    component: 'layouts/RouteView',
    meta: { title: '信息项目管理报表', icon: 'bar-chart' },
    children: [
      {
        path: '/reportWork/itAdjustmentList',
        name: 'itAdjustmentList',
        component: 'reportCenter/itAdjustment/ItAdjustmentList',
        meta: { title: '信息迭代版本报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/projectSummary',
        name: 'projectSummary',
        component: 'reportCenter/itAdjustment/ProjectSummary',
        meta: { title: '项目成本汇总表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/personSummary',
        name: 'personSummary',
        component: 'reportCenter/itAdjustment/PersonSummary',
        meta: { title: '人员成本汇总表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/personCostDetail',
        name: 'personCostDetail',
        component: 'reportCenter/itAdjustment/PersonCostDetail',
        meta: { title: '人员成本明细表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reward/review/information',
        name: 'infoRewardAudit',
        limit: 'techRewardAudit',
        component: 'projectBuild/projectInfo/review',
        meta: { title: '信息项目奖励汇总审核表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reward/review/information/det',
        name: 'infoDetRewardAudit',
        limit: 'techRewardAudit',
        component: 'projectBuild/projectInfo/projectDetails',
        meta: { title: '信息项目明细报表', icon: 'line-chart', parentGround: '1' },
      },
      {
        path: '/reportWork/personIWom',
        name: 'personIWom',
        component: 'reportCenter/itAdjustment/PersonIWom',
        meta: { title: '人员口碑', icon: 'line-chart', parentGround: '1' },
      },
    ],
  },
]

/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/user',
    component: UserLayout,
    redirect: '/user/login',
    hidden: true,
    children: [
      {
        path: 'login',
        name: 'login',
        component: (resolve) => require(['@/views/user/Login'], resolve),
      },
    ],
  },
  {
    path: '/',
    redirect: '/homepage',
  },
  {
    path: '/homepage',
    component: (resolve) => require(['@/views/home/HomePage'], resolve),
  },
  {
    path: '/confidentialityConfirm',
    component: (resolve) => require(['@/views/ConfidentialityConfirm'], resolve),
  },
  {
    path: '/calendarpage',
    component: (resolve) => require(['@/views/home/CalendarPage'], resolve),
  },
  {
    path: '/awaitingapproval',
    component: (resolve) => require(['@/views/home/AwaitingApproval'], resolve),
  },
  {
    path: '/myreservation',
    component: (resolve) => require(['@/views/home/MyReservation'], resolve),
  },
  {
    path: '/todolist',
    component: (resolve) => require(['@/views/home/TodoList'], resolve),
  },
  {
    path: '/projectTodolist',
    component: (resolve) => require(['@/views/home/ProjectTodoList'], resolve),
  },
  {
    path: '/changehistory',
    component: (resolve) => require(['@/views/projectBuild/ChangeHistory'], resolve),
  },
  {
    path: '/changeDetail',
    component: (resolve) => require(['@/views/projectBuild/changeDetail'], resolve),
  },
  {
    path: '/myProfile',
    component: (resolve) => require(['@/views/home/MyProfile'], resolve),
  },
  {
    path: '/questionnairepage',
    component: (resolve) => require(['@/views/QuestionnairePage'], resolve),
  },
  {
    path: '/questionnairecorepage',
    component: (resolve) => require(['@/views/QuestionnaireCorePage'], resolve),
  },
  {
    path: '/approval',
    component: (resolve) => require(['@/views/approval'], resolve),
  },
  {
    path: '/projectpavilion',
    component: (resolve) => require(['@/views/ProjectPavilion'], resolve),
  },
  {
    path: '/projectGantt',
    component: (resolve) => require(['@/views/ProjectGantt'], resolve),
  },
  {
    path: '/blank',
    component: (resolve) => require(['@/views/Blank'], resolve),
  },
  {
    path: '/404',
    component: (resolve) => require(['@/views/exception/404'], resolve),
  },
  {
    path: '/reportWork/personProjectByHrList',
    component: (resolve) => require(['@/views/reportCenter/projectReport/PersonProjectByHrList'], resolve),
  },
  {
    path: '/projectBuildTask',
    component: (resolve) => require(['@/views/projectBuild/projectBuildTask'], resolve),
  },
  {
    path: '/dailyTaskAdd',
    component: (resolve) => require(['@/views/projectBuildTask/dailyTaskAdd'], resolve),
  },
  {
    path: '/dailyTaskDetail',
    component: (resolve) => require(['@/views/projectBuildTask/dailyTaskDetail'], resolve),
  },
  {
    path: '/projectTaskAdd',
    component: (resolve) => require(['@/views/projectBuildTask/projectTaskAdd'], resolve),
  },
  {
    path: '/testExcel',
    component: (resolve) => require(['@/views/projectBuildTask/testExcel'], resolve),
  },
  {
    path: '/projectTaskDetail',
    component: (resolve) => require(['@/views/projectBuildTask/projectTaskDetail'], resolve),
  },
  {
    path: '/dailyBugTaskAdd',
    component: (resolve) => require(['@/views/projectBuildTask/dailyBugTaskAdd'], resolve),
  },
  {
    path: '/dailyBugTaskDetail',
    component: (resolve) => require(['@/views/projectBuildTask/dailyBugTaskDetail'], resolve),
  },
  {
    path: '/projectBuildReserve',
    component: (resolve) => require(['@/views/projectBuildReserve'], resolve),
  },
  {
    path: '/projectBuildChangeBudget',
    component: (resolve) => require(['@/views/projectBuild/changeBudget'], resolve),
  },
  {
    path: '/projectBudgetDetail',
    component: (resolve) => require(['@/views/projectBuild/BudgetDetail'], resolve),
  },
  {
    path: '/projectReportHome',
    component: (resolve) => require(['@/views/projectBuild/ProjectReportHome'], resolve),
  },
  {
    path: '/timeNodeReport',
    component: (resolve) => require(['@/views/projectBuild/timeNodeReport'], resolve),
  },
  {
    path: '/projectAcceptance',
    component: (resolve) => require(['@/views/projectBuild/acceptance'], resolve),
  },
  {
    path: '/projectCompleteAccept',
    component: (resolve) => require(['@/views/projectBuild/completeAccept/ProjectCompleteAccept'], resolve),
  },
  {
    path: '/projectFirstCompleteAccept',
    component: (resolve) => require(['@/views/projectBuild/completeAccept/first/projectFirstCompleteAccept'], resolve),
  },
  {
    path: '/projectClose',
    component: (resolve) => require(['@/views/projectBuild/completeAccept/close/projectClose'], resolve),
  },
  {
    path: '/projectMemberEvaluate',
    component: (resolve) => require(['@/views/projectBuild/MemberEvaluate'], resolve),
  },
  {
    path: '/projectPrint',
    component: (resolve) => require(['@/views/projectBuild/projectPrint/ProjectBuildBasicPrint'], resolve),
  },
  {
    path: '/projectChangePrint',
    component: (resolve) => require(['@/views/projectBuild/projectPrint/ProjectBuildChangePrint'], resolve),
  },
  {
    path: '/interfaceDo',
    name: '接口在线测试',
    component: (resolve) => require(['@/views/InterfaceDo'], resolve),
  },
  /******主数据维护*********/
  {
    path: '/masterData/index',
    component: (resolve) => require(['@/views/masterData/MasterDataIndex.vue'], resolve),
  },
  {
    path: '/masterData/projectCycleRules',
    component: (resolve) => require(['@/views/masterData/ProjectCycleRules'], resolve),
  },
  {
    path: '/masterData/projectRewardRules',
    component: (resolve) => require(['@/views/masterData/ProjectRewardRules'], resolve),
  },
  /************文件库*****************/

  {
    path: '/thinkTank',
    redirect: '/thinkTank/index',
    component: (resolve) => require(['@/components/layouts/HteLayout.vue'], resolve),
    meta: {
      banner: {
        url: require('@/assets/thinkTank/banner0920.png'),
        style: { height: '22vh' },
      },
    },
    children: [
      {
        path: 'index',
        component: (resolve) => require(['@/views/thinkTank/Index'], resolve),
      },
    ],
  },
  {
    path: '/library',
    redirect: '/library/index/:id',
    component: (resolve) => require(['@/components/layouts/HteLayout.vue'], resolve),
    children: [
      {
        path: 'index/:id',
        component: (resolve) => require(['@/views/library/Index'], resolve),
      },
      {
        path: '/library/group',
        component: (resolve) => require(['@/views/library/group/GroupList'], resolve),
      },
    ],
  },
  {
    path: '/library/fileClass/:id',
    component: (resolve) => require(['@/views/library/HteFileClassList'], resolve),
  },
  {
    path: '/library/file/new/:c',
    component: (resolve) => require(['@/views/library/NewHteFile'], resolve),
  },
  {
    path: '/library/file/newByProjectNo/:c',
    component: (resolve) => require(['@/views/library/NewHteFile'], resolve),
  },
  {
    path: '/library/file/edit/:c/:id/:v',
    component: (resolve) => require(['@/views/library/NewHteFile'], resolve),
  },
  {
    path: '/library/file/newByProjectNo/:c/:id/:v',
    component: (resolve) => require(['@/views/library/NewHteFile'], resolve),
  },
  {
    path: '/library/file/view/:c/:id/:v',
    component: (resolve) => require(['@/views/library/ViewHteFile'], resolve),
  },

  {
    path: '/library/file/batch/:c',
    component: (resolve) => require(['@/views/library/BatchFile'], resolve),
  },

  /************资源库end*****************/
  /************商标库start*****************/
  {
    path: '/trademarklibrary',
    redirect: '/trademarklibrary/index',
    component: (resolve) => require(['@/components/layouts/HteLayout.vue'], resolve),
    children: [
      {
        path: 'index',
        component: (resolve) => require(['@/views/trademarkLibrary/TrademarkLibrary'], resolve),
      },
      {
        path: 'info',
        component: (resolve) => require(['@/views/trademarkLibrary/TrademarkInfo'], resolve),
      },
      {
        path: '/trademarklibrary/brandList',
        component: (resolve) => require(['@/views/trademarkLibrary/BrandList'], resolve),
      },
      {
        path: '/trademarklibrary/brandApplicantMainList',
        component: (resolve) => require(['@/views/trademarkLibrary/BrandApplicantMainList'], resolve),
      },
      {
        path: '/trademarklibrary/brandLabelList',
        component: (resolve) => require(['@/views/trademarkLibrary/BrandLabelList'], resolve),
      },
      {
        path: '/trademarklibrary/brandValueSimilitudeList',
        component: (resolve) => require(['@/views/trademarkLibrary/BrandValueSimilitudeList'], resolve),
      },
      {
        path: '/trademarklibrary/brandSimilitudeGroupList',
        component: (resolve) => require(['@/views/trademarkLibrary/BrandSimilitudeGroupList'], resolve),
      },
      {
        path: '/trademarklibrary/brandGoodsServicesList',
        component: (resolve) => require(['@/views/trademarkLibrary/BrandGoodsServicesList'], resolve),
      },
    ],
  },

  /************商标库end*****************/
  {
    path: '/projectbuildstup',
    redirect: '/projectbuildstup/baseInfo',
    component: (resolve) => require(['@/components/layouts/ProjectBuildStupLayout.vue'], resolve),
    children: [
      {
        path: 'baseInfo',
        component: (resolve) => require(['@/views/projectBuildStup/BaseInfo'], resolve),
      },
      {
        path: 'questionnairePage',
        component: (resolve) => require(['@/views/QuestionnairePage'], resolve),
      },
      {
        path: 'questionnaireCorePage',
        component: (resolve) => require(['@/views/QuestionnaireCorePage'], resolve),
      },
      {
        path: 'timeForm',
        component: (resolve) => require(['@/views/projectBuildStup/TimeForm'], resolve),
      },
      {
        path: 'budgetForm',
        component: (resolve) => require(['@/views/projectBuildStup/BudgetForm'], resolve),
      },
      {
        path: 'teamForm',
        component: (resolve) => require(['@/views/projectBuildStup/TeamForm'], resolve),
      },
      {
        path: 'attachPage',
        component: (resolve) => require(['@/views/projectBuildStup/AttachPage'], resolve),
      },
      {
        path: 'meetingResults',
        component: (resolve) => require(['@/views/projectBuildStup/MeetingResults'], resolve),
      },
      {
        path: 'changeRecord',
        component: (resolve) => require(['@/views/projectBuildStup/changeRecord'], resolve),
      },
    ],
  },
  {
    path: '/hatchProjectBuildstep',
    redirect: '/hatchProjectBuildstep/baseInfo',
    component: (resolve) => require(['@/components/layouts/HatchProjectBuildStupLayout.vue'], resolve),
    children: [
      {
        path: 'baseInfo',
        component: (resolve) => require(['@/views/hatchProjectBuildStep/BaseInfo'], resolve),
      },
      {
        path: 'attachPage',
        component: (resolve) => require(['@/views/hatchProjectBuildStep/AttachPage'], resolve),
      },
    ],
  },
  {
    path: '/hatchApproval',
    component: (resolve) => require(['@/views/hatchProjectBuildStep/approval'], resolve),
  },
  {
    path: '/hatchIndex',
    component: (resolve) => require(['@/views/hatchProjectBuildStep/HatchProjectIndex'], resolve),
  },
  {
    path: '/company/list',
    name: '公司信息首页',
    component: (resolve) => require(['@views/library/company/information/List.vue'], resolve),
  },

  {
    path: '/company/listHis',
    name: '公司信息变更历史',
    component: (resolve) => require(['@views/library/company/information/ListHis.vue'], resolve),
  },
  {
    path: '/company/info',
    name: '公司信息库信息',
    component: (resolve) => require(['@views/library/company/information/Info.vue'], resolve),
  },
  {
    path: '/company/editor',
    name: '公司信息库新增编辑',
    component: (resolve) => require(['@views/library/company/information/Editor.vue'], resolve),
  },
  {
    path: '/company/batchCompany',
    name: '公司信息批量入库',
    meta: { title: '公司信息批量入库' },
    component: (resolve) => require(['@views/library/company/information/BatchCompany.vue'], resolve),
  },
  {
    path: '/task',
    meta: { title: '我的任务' },
    component: (resolve) => require(['@views/myTask/TaskHome'], resolve),
  },
  {
    path: '/product',
    meta: { title: '产品生命周期' },
    component: (resolve) => require(['@views/productCycle/ProductIndex'], resolve),
  },
  {
    path: '/productTech',
    meta: { title: '项目研发专区' },
    component: (resolve) => require(['@views/productCycle/ProductHome'], resolve),
  },
  {
    path: '/itAdjustmentAdd',
    meta: { title: '信息项目调整单详情' },
    component: (resolve) => require(['@views/projectBuild/itAdjustment'], resolve),
  },
  {
    path: '/itAdjustmentIndex',
    meta: { title: '信息项目调整单列表' },
    component: (resolve) => require(['@views/projectBuild/itAdjustment/ItAdjustmentIndex'], resolve),
  },
  {
    path: '/fileJoinSignAdd',
    meta: { title: '文件会签记录详情' },
    component: (resolve) => require(['@views/projectBuild/fileJoinSign'], resolve),
  },
  {
    path: '/fileJoinSignIndex',
    meta: { title: '文件会签列表' },
    component: (resolve) => require(['@views/projectBuild/fileJoinSign/FileJoinSignIndex'], resolve),
  },
  {
    path: '/evaluateList',
    meta: { title: '信息项目口碑列表' },
    component: (resolve) => require(['@views/projectBuild/evaluate/EvaluateList'], resolve),
  },
  {
    path: '/evaluateAdd',
    meta: { title: '信息项目口碑列表' },
    component: (resolve) => require(['@views/projectBuild/evaluate/EvaluateAdd'], resolve),
  },
  {
    path: '/itTaskReportIndex',
    meta: { title: '信息迭代版本报表' },
    component: (resolve) => require(['@views/projectBuild/itAdjustment/ItTaskReportIndex'], resolve),
  },
  {
    path: '/projectDone',
    component: (resolve) => require(['@views/projectBuild/projectDone/doneList'], resolve),
  },
  {
    path: '/projectDoneStick',
    component: (resolve) => require(['@views/projectBuild/projectDone/maintainList'], resolve),
  },
  {
    path: '/projectDoneApprove',
    component: (resolve) => require(['@views/projectBuild/projectDone/approveInfo'], resolve),
  },
  // 政策库
  {
    path: '/policy',
    redirect: '/policy/policyBusinessList',
    component: (resolve) => require(['@/components/layouts/HteLayout.vue'], resolve),
    children: [
      {
        path: '/policy/policyBusinessList',
        component: (resolve) => require(['@/views/policy/PolicyBusinessList'], resolve),
      },
      {
        path: '/policy/policySpecialList',
        component: (resolve) => require(['@/views/policy/PolicySpecialList'], resolve),
      },
      {
        path: '/policy/policyMechanismList',
        component: (resolve) => require(['@/views/policy/PolicyMechanismList'], resolve),
      },
      {
        path: '/tCodeInfo',
        component: (resolve) => require(['@/views/system/TCodeInfoList'], resolve),
      },
      //公司库
      {
        path: '/library/companySize',
        component: (resolve) => require(['@/views/library/company/HteLibCompanySizeList'], resolve),
      },
    ],
  },
  // 蚝油清洗
  {
    path: '/clearSoln/home',
    component: (resolve) => require(['@/views/library/clearSoln/home'], resolve),
  },
  {
    path: '/clearSoln/burden/list',
    component: (resolve) => require(['@/views/library/clearSoln/burdenList'], resolve),
  },
  {
    path: '/clearSoln/finished/list',
    component: (resolve) => require(['@/views/library/clearSoln/finishedList'], resolve),
  },
  {
    path: '/clearSoln/finished/info',
    component: (resolve) => require(['@/views/library/clearSoln/finishedInfo'], resolve),
  },
  {
    path: '/clearSoln/method/list',
    component: (resolve) => require(['@/views/library/clearSoln/methodList'], resolve),
  },
  {
    path: '/clearSoln/topMater/list',
    component: (resolve) => require(['@/views/library/clearSoln/topMaterialList'], resolve),
  },
  {
    path: '/clearSoln/rule/list',
    component: (resolve) => require(['@/views/library/clearSoln/changeRuleList'], resolve),
  },
  {
    path: '/clearSoln/clear/list',
    component: (resolve) => require(['@/views/library/clearSoln/clearList'], resolve),
  },
  {
    path: '/clearSoln/disinfect/list',
    component: (resolve) => require(['@/views/library/clearSoln/disinfectList'], resolve),
  },

  // 酱油清洗
  {
    path: '/clearJy/burden/list',
    component: (resolve) => require(['@/views/library/clearJy/burdenList'], resolve),
  },
  {
    path: '/clearJy/finished/list',
    component: (resolve) => require(['@/views/library/clearJy/finishedList'], resolve),
  },
  {
    path: '/clearJy/finished/info',
    component: (resolve) => require(['@/views/library/clearJy/finishedInfo'], resolve),
  },
  {
    path: '/clearJy/method/list',
    component: (resolve) => require(['@/views/library/clearJy/methodList'], resolve),
  },
  {
    path: '/clearJy/clear/list',
    component: (resolve) => require(['@/views/library/clearJy/clearList'], resolve),
  },
  {
    path: '/clearJy/disinfect/list',
    component: (resolve) => require(['@/views/library/clearJy/disinfectList'], resolve),
  },
  {
    path: '/library/media/orderList',
    component: (resolve) => require(['@/views/library/media/orderList'], resolve),
  },
  {
    path: '/library/media/addOrder',
    component: (resolve) => require(['@/views/library/media/orderInfo'], resolve),
  },
  {
    path: '/budget/orderList',
    component: (resolve) => require(['@/views/projectBuild/budgetManage/orderList'], resolve),
  },
  {
    path: '/budget/orderDet',
    component: (resolve) => require(['@/views/projectBuild/budgetManage/orderInfo'], resolve),
  },
  {
    path: '/techResult/orderList',
    component: (resolve) => require(['@/views/library/techResult/orderList'], resolve),
  },
  {
    path: '/techResult/addOrder',
    component: (resolve) => require(['@/views/library/techResult/orderInfo'], resolve),
  },
  /**合同报工开始*/
  {
    path: '/redirect',
    component: TabLayout,
    hidden: true,
    children: [
      {
        path: '/redirect/:path*',
        component: () => import('@/views/workReport/layout/Redirect'),
      },
    ],
  },
  {
    path: '/workReport',
    redirect: '/workReport/projectList',
    component: (resolve) => require(['@/views/workReport/layout/Layout.vue'], resolve),
    meta: {
      banner: {
        url: require('@/assets/thinkTank/banner.png'),
        style: { height: '19vh' },
        title: {
          name: '资源应用·共享智慧成果',
          style: { fontSize: '50px', color: '#fefefe', textShadow: '4px 4px #2c4c88' },
        },
        describe: { name: 'Sharing intelligent achievements', style: { fontSize: '14px', color: '#5795bc' } },
      },
    },
    children: [
      {
        path: '/workReport/calendarpage',
        name: '日历',
        component: (resolve) => require(['@/views/workReport/home/CalendarPage'], resolve),
      },
      {
        path: '/workReport/awaitingapproval',
        name: '待审批',
        component: (resolve) => require(['@/views/workReport/home/AwaitingApproval'], resolve),
      },
      {
        path: '/workReport/todolist',
        name: '代办',
        component: (resolve) => require(['@/views/workReport/home/TodoList'], resolve),
      },
    ],
  },
  {
    path: '/workReport/projectList',
    name: '合同报工列表',
    component: (resolve) => require(['@/views/workReport/project/projectList'], resolve),
  },
  {
    path: '/workReport/addProject',
    name: '新增报工项目',
    component: (resolve) => require(['@/views/workReport/project/projectAdd'], resolve),
  },
  {
    path: '/workReport/addTask',
    name: '新增报工任务',
    component: (resolve) => require(['@/views/workReport/task/TaskAddByProject'], resolve),
  },
  {
    path: '/workReport/editTask',
    name: '编辑报工任务',
    component: (resolve) => require(['@/views/workReport/task/TaskAdd'], resolve),
  },
  {
    path: '/workReport/taskList',
    name: '报工任务列表',
    component: (resolve) => require(['@/views/workReport/task/TaskList'], resolve),
  },
  {
    path: '/workReport/myTaskList',
    name: '我的报工任务',
    component: (resolve) => require(['@/views/workReport/task/MyTaskList'], resolve),
  },
  {
    path: '/workReport/taskDetail/:taskId',
    name: '报工任务详情',
    component: (resolve) => require(['@/views/workReport/task/TaskDetail'], resolve),
  },
  {
    path: '/contract/listOld/:code',
    name: '合同列表旧220225',
    component: (resolve) => require(['@/views/contract/contractList'], resolve),
  },
  ,
  {
    path: '/contract/list/:code',
    name: '合同列表',
    component: (resolve) => require(['@/views/contract/contractListNew'], resolve),
  },
  {
    path: '/contract/detail/:id',
    name: '合同详情',
    component: (resolve) => require(['@/views/contract/contractDetail'], resolve),
  },
  {
    path: '/contract/attach/:id',
    name: '合同附件',
    component: (resolve) => require(['@/views/contract/contractAttachs'], resolve),
  },
  {
    path: '/workReport/execute/:projectId',
    name: '合同执行信息',
    component: (resolve) => require(['@/views/workReport/project/projectExecute'], resolve),
  },
  {
    path: '/workReport/attach/:projectId',
    name: '报工项目附件',
    component: (resolve) => require(['@/views/workReport/project/projectAttach'], resolve),
  },
  {
    path: '/workReport/editPayment/:paymentId',
    name: '合同验收单详情',
    component: (resolve) => require(['@/views/workReport/payment/TaskPaymentEdit'], resolve),
  },
  {
    path: '/workReport/addPayment/:taskId',
    name: '新增合同验收单',
    component: (resolve) => require(['@/views/workReport/payment/TaskPaymentAdd'], resolve),
  },
  {
    path: '/workReport/log/:taskId',
    name: '报工任务日志',
    component: (resolve) => require(['@/views/workReport/log/LogList'], resolve),
  },
  {
    path: '/workReport/addQuality/:taskId',
    name: '新增质量通知单',
    component: (resolve) => require(['@/views/workReport/quality/QualityAdd'], resolve),
  },
  {
    path: '/workReport/addQuality',
    name: '新增质量通知单_',
    component: (resolve) => require(['@/views/workReport/quality/QualityAdd'], resolve),
  },
  {
    path: '/workReport/editQuality/:qualityId',
    name: '编辑质量通知单',
    component: (resolve) => require(['@/views/workReport/quality/QualityEdit'], resolve),
  },
  {
    path: '/workReport/quality/edit/:qualityId',
    name: '编辑质量通知单_',
    component: (resolve) => require(['@/views/workReport/quality/QualityEdit'], resolve),
  },
  {
    path: '/workReport/qualityList',
    name: '质量通知单列表',
    component: (resolve) => require(['@/views/workReport/quality/QualityList'], resolve),
  },
  {
    path: '/workReport/qualityList/:poNo',
    name: '质量通知单列表__',
    component: (resolve) => require(['@/views/workReport/quality/QualityList'], resolve),
  },
  {
    path: '/workReport/quality/view/:qualityId/:taskId',
    name: '质量通知单详情',
    component: (resolve) => require(['@/views/workReport/quality/QualityView'], resolve),
  },
  {
    path: '/workReport/paymentList',
    name: '付款申请表列表',
    component: (resolve) => require(['@/views/workReport/payment/paymentList'], resolve),
  },
  {
    path: '/workReport/roleList',
    name: '报工角色管理',
    component: (resolve) => require(['@/views/workReport/role/RoleList.vue'], resolve),
  },
  {
    path: '/workReport/orgList',
    name: '合同报工架构设置',
    component: (resolve) => require(['@/views/workReport/org/OrgList.vue'], resolve),
  },
  /**
   * 基建现场单据管理
   */
  {
    path: '/infrastructure/list',
    name: '基建现场单据管理列表',
    component: (resolve) => require(['@/views/workReport/infrastructure/InfrastructureList.vue'], resolve),
  },
  {
    path: '/infrastructure/add',
    name: '新增基建现场单据管理',
    component: (resolve) => require(['@/views/workReport/infrastructure/InfrastructureAdd.vue'], resolve),
  },
  {
    path: '/infrastructure/addByProject/:projectId',
    name: '新增基建现场单据管理_',
    component: (resolve) => require(['@/views/workReport/infrastructure/InfrastructureAdd.vue'], resolve),
  },
  {
    path: '/infrastructure/edit/:id',
    name: '编辑基建现场单据管理',
    component: (resolve) => require(['@/views/workReport/infrastructure/InfrastructureEdit.vue'], resolve),
  },
  /**物料领用查询 */
  {
    path: '/materials/list',
    name: '物料领用申请列表',
    component: (resolve) => require(['@/views/materials/MaterialsList.vue'], resolve),
  },
  /**物料领用查询 */
  {
    path: '/materials/consumMaterials',
    name: '已领物料列表',
    component: (resolve) => require(['@/views/materials/ConsumMaterials.vue'], resolve),
  },
  {
    path: '/materials/sapMaterials',
    name: 'SAP物料列表',
    component: (resolve) => require(['@/views/materials/SapMaterials.vue'], resolve),
  },
  {
    path: '/materials/search',
    name: '物料查询',
    component: (resolve) => require(['@/views/materials/MaterialsSearch.vue'], resolve),
  },
  {
    path: '/materials/search/:type/:no',
    name: '物料查询_',
    component: (resolve) => require(['@/views/materials/MaterialsSearch.vue'], resolve),
  },
  {
    path: '/materials/detail/:type/:no',
    name: '领用详情',
    component: (resolve) => require(['@/views/materials/MaterialsDetail.vue'], resolve),
  },
  {
    path: '/materials/detail',
    name: '领用详情_',
    component: (resolve) => require(['@/views/materials/MaterialsDetail.vue'], resolve),
  },
  {
    path: '/materials/addConsum',
    name: '新增领用',
    component: (resolve) => require(['@/views/materials/MaterialsAddConsum.vue'], resolve),
  },
  {
    path: '/materials/editConsum/:id',
    name: '编辑领用',
    component: (resolve) => require(['@/views/materials/MaterialsEditConsum.vue'], resolve),
  },
  /**合同报工结束 */
  {
    path: '/system/sysLogList',
    name: '系统操作日志',
    component: (resolve) => require(['@/views/system/SysLogList'], resolve),
  },
  {
    path: '/reportCenter',
    name: '数据分析报表平台',
    component: (resolve) => require(['@/views/reportCenter/home/HomePage'], resolve),
  },
  /**工程类技术库审批流程 */
  {
    path: '/engineeringApproval',
    name: '工程类技术库审批流程',
    component: (resolve) => require(['@/views/tech/approval'], resolve),
  },
  {
    path: '/nodeTimelinessRate',
    name: '项目节点及时率报表',
    component: (resolve) => require(['@/views/reportCenter/backStageReport/NodeTimelinessRate.vue'], resolve),
  },
  {
    path: '/nodeReport',
    name: '项目节点报工报表',
    component: (resolve) => require(['@/views/reportCenter/backStageReport/NodeReport.vue'], resolve),
  },
  {
    path: '/managerReport',
    name: '项目经理报工报表',
    component: (resolve) => require(['@/views/reportCenter/backStageReport/ManagerReport.vue'], resolve),
  },
  {
    path: '/reporterReport',
    name: '项目负责人报工报表',
    component: (resolve) => require(['@/views/reportCenter/backStageReport/ReporterReport.vue'], resolve),
  },
  {
    path: '/examples/minioUploader',
    name: '上传组件测试',
    component: (resolve) => require(['@/components/hteUpload/ht-minio-uploader.vue'], resolve),
  },

  {
    path: '/projectReport/queryPersonPoint',
    name: '个人项目绩点报表',
    component: (resolve) => require(['@/views/reportCenter/projectReport/QueryPersonPoint.vue'], resolve),
  },
  {
    path: '/projectReport/queryPersonPointDetails',
    name: '个人项目绩点明细报表',
    component: (resolve) => require(['@/views/reportCenter/projectReport/QueryPersonPointDetails.vue'], resolve),
  },
  {
    path: '/projectReport/queryPersonAchievement',
    name: '个人项目业绩报表',
    component: (resolve) => require(['@/views/reportCenter/projectReport/QueryPersonAchievement.vue'], resolve),
  },
  {
    path: '/projectReport/queryPersonBear',
    name: '个人承担项目报表',
    component: (resolve) => require(['@/views/reportCenter/projectReport/QueryPersonBear.vue'], resolve),
  },
  {
    path: '/projectReport/queryDeptPoint',
    name: '部门项目业绩报表',
    component: (resolve) => require(['@/views/reportCenter/projectReport/QueryDeptPoint.vue'], resolve),
  },
  {
    path: '/techList',
    name: '技术库',
    component: (resolve) => require(['@/views/tech/TechList.vue'], resolve),
  },
  {
    path: '/techListHot',
    name: '热点技术',
    component: (resolve) => require(['@/views/tech/TechListHot.vue'], resolve),
  },
  {
    path: '/techEdit',
    name: '技术库-编辑',
    component: (resolve) => require(['@/views/tech/TechEdit.vue'], resolve),
  },
  {
    path: '/engineeTech/List',
    redirect: '/engineeTech/List',
    component: (resolve) => require(['@/components/layouts/HteLayout.vue'], resolve),
    children: [
      {
        path: '/engineeTech/list',
        name: '工程技术库New',
        component: (resolve) => require(['@/views/tech/enginee/EngineeList.vue'], resolve),
      },
    ],
  },

  {
    path: '/engineeTech/edit',
    name: '工程技术库-编辑New',
    component: (resolve) => require(['@/views/tech/enginee/NewEngineeEdit'], resolve),
  },
  {
    path: '/engineeTech/quote',
    name: '工程技术库-引用审批',
    component: (resolve) => require(['@/views/tech/enginee/quote/Quote'], resolve),
  },
  {
    path: '/engineeTech/quote/list',
    name: '工程技术库-引用审批列表',
    component: (resolve) => require(['@/views/tech/enginee/quote/QuoteList'], resolve),
  },

  {
    path: '/engineeTech/comments/list',
    name: '工程技术库-评价列表',
    component: (resolve) => require(['@/views/tech/enginee/comments/CommentsList'], resolve),
  },

  {
    path: '/techEngineeEdit',
    name: '工程技术库-编辑',
    component: (resolve) => require(['@/views/tech/techengineeedit/TechEngineeEdit'], resolve),
  },
  {
    path: '/techEngineeList',
    name: '工程技术库',
    component: (resolve) => require(['@/views/tech/TechEngineeList.vue'], resolve),
  },

  {
    path: '/projectReport/queryDeptPointDetails',
    name: '部门参与项目得分明细报表',
    component: (resolve) => require(['@/views/reportCenter/projectReport/QueryDeptPointDetails.vue'], resolve),
  },
  {
    path: '/projectListReport',
    name: '项目清单报表',
    component: (resolve) => require(['@/views/reportCenter/projectReport/ProjectListReport.vue'], resolve),
  },
  {
    path: '/projectGuidanceDoc',
    name: '指导文档',
    component: (resolve) => require(['@/views/projectBuild/GuidanceDocument.vue'], resolve),
  },
  {
    path: '/tcSummaryLookByEc',
    name: 'TC汇总表',
    component: (resolve) => require(['@/views/projectBuild/TcSummaryLookByEc.vue'], resolve),
  },
  {
    path: '/allSummary',
    name: '项目汇总表',
    component: (resolve) => require(['@/views/projectBuild/AllSummaryProject.vue'], resolve),
  },
  {
    path: '/projectReport/pgList',
    name: '项目等级系数得分转换',
    component: (resolve) => require(['@/views/reportCenter/projectClass40/HteReportPgScoreList.vue'], resolve),
  },
  {
    path: '/projectCompleteAcceptList',
    name: '项目验收申请表',
    component: (resolve) => require(['@/views/projectBuild/completeAccept/ProjectCompleteAcceptList.vue'], resolve),
  },
  /**
   * 奖励申报
   */
  {
    path: '/reward',
    component: RouteView,
    redirect: '/reward/apply',
    children: [
      {
        path: '/reward/apply',
        component: (resolve) => require(['@/views/projectBuild/rewardApply/apply'], resolve),
      },
      {
        path: '/reward/assess',
        component: (resolve) => require(['@views/projectBuild/rewardApply/assess'], resolve),
      },
      {
        path: '/reward/allot',
        component: (resolve) => require(['@views/projectBuild/rewardApply/allot'], resolve),
      },
      {
        path: '/reward/again',
        component: (resolve) => require(['@views/projectBuild/rewardApply/again'], resolve),
      },
      // {
      //     path: '/reward/review',
      //     component: resolve => require(['@views/projectBuild/rewardApply/review'], resolve),
      // },
      {
        path: '/reward/record',
        component: (resolve) => require(['@views/projectBuild/rewardApply/record'], resolve),
      },
      {
        path: '/reward/rule',
        component: (resolve) => require(['@views/projectBuild/rewardApply/rule'], resolve),
      },
      {
        path: '/reward/applyinfo',
        component: (resolve) => require(['@/views/projectBuild/rewardApply/applyInformation'], resolve),
      },
      {
        path: '/reward/applyPro',
        component: (resolve) => require(['@/views/projectBuild/rewardApply/applyProject'], resolve),
      },
      {
        path: '/reward/applyList',
        component: (resolve) => require(['@/views/projectBuild/rewardApply/applyProject/applyList'], resolve),
      },
      {
        path: '/reward/applyProScore',
        component: (resolve) =>
          require(['@/views/projectBuild/rewardApply/applyProject/ProjectRewardProScoreList'], resolve),
      },
    ],
  },

  /**
   * 五金领料权限表维护
   */
  {
    path: '/materials/powers/list',
    name: '物料领用权限维护表列表',
    component: (resolve) => require(['@/views/materials/powers/PowersList.vue'], resolve),
  },
  {
    path: '/materials/powers/add',
    name: '新增物料领用权限维护表',
    component: (resolve) => require(['@/views/materials/powers/PowersAdd.vue'], resolve),
  },
  {
    path: '/materials/powers/edit/:id',
    name: '编辑物料领用权限维护表',
    component: (resolve) => require(['@/views/materials/powers/PowersEdit.vue'], resolve),
  },
  {
    path: '/commonQuery',
    name: '通用对象查询',
    component: (resolve) => require(['@/views/system/CommonQuery.vue'], resolve),
  },

  {
    path: '/purchaseApplyList',
    name: '工程采购申请列表',
    component: (resolve) => require(['@/views/purchase/PurchaseApplyList.vue'], resolve),
  },

  {
    path: '/addPurchaseApply',
    name: '新增工程采购申请',
    component: (resolve) => require(['@/views/purchase/PurchaseApplyAdd.vue'], resolve),
  },
  {
    path: '/editPurchaseApply/:id',
    name: '编辑工程采购申请',
    component: (resolve) => require(['@/views/purchase/PurchaseApplyEdit.vue'], resolve),
  },
  {
    path: '/callInterfaceRecordList',
    name: '外部接口调用日志',
    component: (resolve) => require(['@/views/callInterface/CallInterfaceRecoredList.vue'], resolve),
  },
  {
    path: '/techKeyWordTree/:category',
    name: '技术库关键字',
    component: (resolve) => require(['@/views/tech/keywords/KeyWordTree.vue'], resolve),
  },
  {
    path: '/techKeyWordTree',
    name: '技术库关键字_',
    component: (resolve) => require(['@/views/tech/keywords/KeyWordTree.vue'], resolve),
  },
  {
    path: '/dataChangeSetting',
    name: '数据变更设置',
    component: (resolve) => require(['@/views/dataChange/dataChangeSetting'], resolve),
  },
  {
    path: '/dataChangeRecord',
    name: '数据变更查询',
    component: (resolve) => require(['@/views/dataChange/dataChangeRecord'], resolve),
  },
  {
    path: '/socket',
    name: 'socket',
    component: (resolve) => require(['@/views/socket/socket'], resolve),
  },
  // /**
  //  * 定时任务
  //  */
  // {
  //   path: '/quartz',
  //   component: RouteView,
  //   redirect: '/quartz/list',
  //   children: [
  //     {
  //       path: '/quartz/list',
  //       component: resolve => require(['@/views/quartz/QuartzList'], resolve)
  //     },
  //     {
  //       path: '/quartz/add',
  //       component: resolve => require(['@/views/quartz/QuartzAdd'], resolve)
  //     },
  //     {
  //       path: '/quartz/edit',
  //       component: resolve => require(['@/views/quartz/QuartzEdit'], resolve)
  //     }
  //   ]
  // },

  /**
   * 项目变更
   */
  {
    path: '/projectChangeList',
    name: '工程项目变更列表',
    component: (resolve) => require(['@/views/projectChange/projectChangeList'], resolve),
  },
  {
    path: '/projectChange',
    redirect: '/projectChangeDetail',
    component: (resolve) => require(['@/views/projectChange/projectChangeDetail'], resolve),
    children: [
      {
        path: 'baseInfo',
        // name: 'baseInfo',
        component: (resolve) => require(['@/views/projectBuildStup/BaseInfo'], resolve),
      },
      {
        path: 'questionnairePage',
        component: (resolve) => require(['@/views/QuestionnairePage'], resolve),
      },
      {
        path: 'questionnaireCorePage',
        component: (resolve) => require(['@/views/QuestionnaireCorePage'], resolve),
      },
      {
        path: 'timeForm',
        component: (resolve) => require(['@/views/projectBuildStup/TimeForm'], resolve),
      },
      {
        path: 'budgetForm',
        component: (resolve) => require(['@/views/projectBuildStup/BudgetForm'], resolve),
      },
      {
        path: 'teamForm',
        component: (resolve) => require(['@/views/projectBuildStup/TeamForm'], resolve),
      },
      {
        path: 'attachPage',
        component: (resolve) => require(['@/views/projectBuildStup/AttachPage'], resolve),
      },
      {
        path: 'meetingResults',
        component: (resolve) => require(['@/views/projectBuildStup/MeetingResults'], resolve),
      },
      {
        path: 'changeRecord',
        component: (resolve) => require(['@/views/projectChange/ChangeRecord'], resolve),
      },
    ],
  },
  //旧海芯的人员选择器
  {
    path: '/userSelect',
    name: 'userSelect',
    component: (resolve) => require(['@/views/UserSelect'], resolve),
  },
  /**
   * 标准样
   */
  {
    path: '/stdSample',
    component: RouteView,
    component: (resolve) => require(['@/components/layouts/HteLayout.vue'], resolve),
    children: [
      {
        path: '/stdSample/list',
        component: (resolve) => require(['@/views/library/stdSample/StdSampleList'], resolve),
      },
      {
        path: '/stdSample/hisList/:stdSampleId/:sampleBaseId',
        component: (resolve) => require(['@/views/library/stdSample/StdSampleHisList'], resolve),
      },
      {
        path: '/stdSample/typeList',
        component: (resolve) => require(['@/views/library/stdSample/StdSampleTypeList'], resolve),
      },
      {
        path: '/stdSample/dataGroup/:busField/:busKey',
        component: (resolve) => require(['@/views/library/stdSample/DataGroupList'], resolve),
      },
      {
        path: '/stdSample/info',
        component: (resolve) => require(['@/views/library/stdSample/StdSampleInfo'], resolve),
      },
      {
        path: '/stdSample/listBatch',
        component: (resolve) => require(['@/views/library/stdSample/StdSampleListBatch'], resolve),
      },
      {
        path: '/stdSample/infoBatch',
        component: (resolve) => require(['@/views/library/stdSample/StdSampleInfoBatch'], resolve),
      },
    ],
  },
  {
    path: '/commonSearch',
    component: (resolve) => require(['@/views/common/search/CommonSearch'], resolve),
  },
]
